package com.pets.web.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum OrderStatusEnums {
    NO_PAY(0, "未支付"), PAYED(1, "已支付")
    , DELIVERY(2, "已发货"), RECEIVER(3, "已收货");

    @EnumValue
    private final int value;

    @JsonValue
    private final String label;
}
